LANGUAGE_CODE = 'zh-hans'

TIME_ZONE = 'Asia/Shanghai'


# sms设置
# 腾讯云授权api的id
SecretId = "AKID1lNq67TkLsyxjRleptsLfps0vTo0cQmY"

# 腾讯云授权api的key
SecretKey = "5uXw78wVezazItLODrY1VqHUXJ6AnBiL"

# 腾讯云短信签名内容
Sign = "机械小跟班"

# 腾讯云应用id
SmsSdk_app_id = "1400481902"

# Redis设置
CACHES = {
    "default": {
        "BACKEND": "django_redis.cache.RedisCache",
        "LOCATION": "redis://192.168.43.71:6379",  # 安装redis的主机的 IP 和 端口
        "OPTIONS": {
            "CLIENT_CLASS": "django_redis.client.DefaultClient",
            "CONNECTION_POOL_KWARGS": {
                "max_connections": 1000,
                "encoding": 'utf-8'
            },
            "PASSWORD": "foobared"  # redis密码
        }
    }
}